<!DOCTYPE html><html lang=en><head><meta charset=UTF-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><title>Document</title><style>div{width:700px;height:700px;background:#000}p{width:100px;height:100px;background:green}div:hover p{width:300px;height:300px}</style></head><body><div><p></p></div><script>let a = parseInt(Math.random() * (10) + 1);
        let b = a > 5 ? a : 5;
        console.log(b);</script></body></html>